package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品管理对象 product
 * 
 * @author ruoyi
 * @date 2023-10-30
 */
public class Product extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品ID */
    private Long productId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;

    /** 商品标题 */
    @Excel(name = "商品标题")
    private String productTitle;

    /** 商品描述 */
    @Excel(name = "商品描述")
    private String productIntro;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String productPicture;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private Long productPrice;

    /** 商品售价 */
    @Excel(name = "商品售价")
    private Long productSellingPrice;

    /** 商城出售数量 */
    @Excel(name = "商城出售数量")
    private Long prouctSales;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String productremark1;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String productremark2;

    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductTitle(String productTitle) 
    {
        this.productTitle = productTitle;
    }

    public String getProductTitle() 
    {
        return productTitle;
    }
    public void setProductIntro(String productIntro) 
    {
        this.productIntro = productIntro;
    }

    public String getProductIntro() 
    {
        return productIntro;
    }
    public void setProductPicture(String productPicture) 
    {
        this.productPicture = productPicture;
    }

    public String getProductPicture() 
    {
        return productPicture;
    }
    public void setProductPrice(Long productPrice) 
    {
        this.productPrice = productPrice;
    }

    public Long getProductPrice() 
    {
        return productPrice;
    }
    public void setProductSellingPrice(Long productSellingPrice) 
    {
        this.productSellingPrice = productSellingPrice;
    }

    public Long getProductSellingPrice() 
    {
        return productSellingPrice;
    }
    public void setProuctSales(Long prouctSales) 
    {
        this.prouctSales = prouctSales;
    }

    public Long getProuctSales() 
    {
        return prouctSales;
    }
    public void setProductremark1(String productremark1) 
    {
        this.productremark1 = productremark1;
    }

    public String getProductremark1() 
    {
        return productremark1;
    }
    public void setProductremark2(String productremark2) 
    {
        this.productremark2 = productremark2;
    }

    public String getProductremark2() 
    {
        return productremark2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("productTitle", getProductTitle())
            .append("productIntro", getProductIntro())
            .append("productPicture", getProductPicture())
            .append("productPrice", getProductPrice())
            .append("productSellingPrice", getProductSellingPrice())
            .append("prouctSales", getProuctSales())
            .append("productremark1", getProductremark1())
            .append("productremark2", getProductremark2())
            .toString();
    }
}
